﻿using ProduceBasicData.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProduceBasicData.Domain.ProductionManage
{
    /// <summary>
    /// 计划排班
    /// </summary>
    public class Plan_Scheduling:BaseEntity
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 排班日期
        /// </summary>
        [Required]
        public DateTime Date { get; set; }
        /// <summary>
        /// 排班状态
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string Type { get; set; } // work, rest, overtime
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
    }
}
